
<%@ page import="user.Tutor" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <title>iPET - Tutor</title>
    </head>
    <body>
    	<g:render template="/common/menuUser" />
    	<div id="text">
        <div class="body">
            <h2>Informações do tutor</h2>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tutor.nome.label" default="Nome" /></td>
                            <td valign="top" class="value">${fieldValue(bean: tutorInstance, field: "nome")}</td>
                        </tr>
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tutor.sobrenome.label" default="Sobrenome" /></td>
                            <td valign="top" class="value">${fieldValue(bean: tutorInstance, field: "sobrenome")}</td>
                        </tr>
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tutor.email.label" default="Email" /></td>
                            <td valign="top" class="value">${fieldValue(bean: tutorInstance, field: "email")}</td>
                        </tr>
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tutor.titulacao.label" default="Titulacao" /></td>
                            <td valign="top" class="value">${fieldValue(bean: tutorInstance, field: "titulacao")}</td>
                        </tr>
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="tutor.admission.label" default="Ingresso" /></td>
                            <td valign="top" class="value"><g:formatDate format="dd-MM-yyyy" date="${tutorInstance?.admission}" /></td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form>
                    <g:hiddenField name="id" value="${tutorInstance?.id}" />
                    <span class="button"><g:actionSubmit class="edit" action="edit" value="Editar" /></span>
                </g:form>
            </div>
        </div>
        </div>
    </body>
</html>
